package com.smiier.skin.net;

import java.util.ArrayList;

import android.content.Context;
import cn.o.app.io.INoProguard;
import cn.o.app.net.NetTask;

import com.smiier.skin.net.CostDoctorAppointTask.CostDoctorAppointRequest;
import com.smiier.skin.net.CostDoctorAppointTask.CostDoctorAppointResponse;
import com.smiier.skin.util.GlobalSettings;

public class CostDoctorAppointTask extends
		NetTask<CostDoctorAppointRequest, CostDoctorAppointResponse> {
	public static class CostDoctorAppointRequest extends ORequest {
	}

	public static class CostDoctorAppointResponse extends
			ArrayList<CostDoctorAppointItem> implements INoProguard {

	}

	public static class CostDoctorAppointItem implements INoProguard {
		public String Professional;
		public int IsDefault;
		public ArrayList<DoctorAppointItem> CostList;

	}

	public static class DoctorAppointItem implements INoProguard {
		public String Title;
		public Double Cost;
		public String Desc;
	}

	@Override
	public void setContext(Context context) {
		super.setContext(context);
		mUrl = GlobalSettings.SERVER_URL + GlobalSettings.SERVER_FIXED_JOIN
				+ "Cost_Doctor_Appoint.txt";
		mRequestMethod = METHOD_GET;
	}
}
